import { MessageReceiveOptType } from "open-im-sdk-rn/lib/typescript/types/enum";

export enum BusinessAllowType {
    Allow = 1,
    NotAllow = 2,
}

export enum GroupVerifty {
    ApplyNeedInviteNot = 0,
    AllNeed = 1,
    AllNot = 2
};

export enum RoleLevelEnum {
    Owner = 100,
    Admin = 60,
    Nomal = 20
};

export interface BusinessUserInfo {
    userID: string;
    password: string;
    account: string;
    phoneNumber: string;
    areaCode: string;
    email: string;
    nickname: string;
    faceURL: string;
    gender: number;
    level: number;
    birth: number;
    allowAddFriend: BusinessAllowType;
    allowBeep: BusinessAllowType;
    allowVibration: BusinessAllowType;
    globalRecvMsgOpt: MessageReceiveOptType;
}
